﻿using ProjectShare;
using System;
using System.Collections.Generic;

namespace OMG.Fill.Vegetable.Model
{
    /// <summary>
    /// 填报生成记录表T_GenerateLog查询条件
    /// </summary>
    public class GenerateLogQuery : SearchBase
    {
        //查询条件，请自行删除不需要条件
        /// <summary>
        /// 编号
        /// </summary>
        public string Id{ get;set;}
        /// <summary>
        /// 报表名称
        /// </summary>
        public string TableName{ get;set;}
        /// <summary>
        /// 报表代码
        /// </summary>
        public string TableCode{ get;set;}
        /// <summary>
        /// 年度
        /// </summary>
        public string CreateYear{ get;set;}
        /// <summary>
        /// 时间周期
        /// </summary>
        public string Cycle{ get;set;}
        /// <summary>
        /// 生成时间
        /// </summary>
        public DateTime? CreateTime{ get;set;}
    }

    /// <summary>
    /// 填报生成记录表T_GenerateLog
    /// </summary>
    public class GenerateLogModel
    {
        /// <summary>
        /// 编号
        /// </summary>
        public string Id { get; set; }
        /// <summary>
        /// 报表名称
        /// </summary>
        public string TableName { get; set; }
        /// <summary>
        /// 报表代码
        /// </summary>
        public string TableCode { get; set; }
        /// <summary>
        /// 年度
        /// </summary>
        public string CreateYear { get; set; }
        public string CreateYearName { get; set; }
        /// <summary>
        /// 时间周期
        /// </summary>
        public string Cycle { get; set; }
        public string CycleName { get; set; }
        /// <summary>
        /// 生成时间
        /// </summary>
        public DateTime? CreateTime { get; set; }
        public string StrCreateTime { get; set; }
        /// <summary>
        /// 填报级别
        /// </summary>
        public string ReportLevel { get; set; }
        /// <summary>
        /// 周期值
        /// </summary>
        public string CycleValue { get; set; }
    }


    /// <summary>
    /// 填报基本信息T_Report
    /// </summary>
    public class ReportModel
    {
        /// <summary>
        /// 报表编号
        /// </summary>
        public string Id { get; set; }
        /// <summary>
        /// 报表名称
        /// </summary>
        public string ReportName { get; set; }
        /// <summary>
        /// 报表代码
        /// </summary>
        public string ReportCode { get; set; }
        public string ReportCodeName { get; set; }
        /// <summary>
        /// 填报年度
        /// </summary>
        public string FillInYear { get; set; }
        public string FillInYearName { get; set; }
        /// <summary>
        /// 填报时间类型
        /// </summary>
        public string TimesType { get; set; }
        public string TimesTypeName { get; set; }
        /// <summary>
        /// 填报时间周期
        /// </summary>
        public string TimesCycle { get; set; }
        public string TimesCycleName { get; set; }

        /// <summary>
        /// 填报所属行政区划
        /// </summary>
        public string AreaCode { get; set; }
        public string AreaCodeName { get; set; }
        /// <summary>
        /// 报表状态
        /// </summary>
        public string Status { get; set; }
        public string StatusName { get; set; }
        /// <summary>   
        /// 新增人
        /// </summary>
        public string AddUser { get; set; }
        /// <summary>
        /// 新增时间
        /// </summary>
        public DateTime? AddTime { get; set; }
        public string StrAddTime { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string UpdateUser { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
        public string StrUpdateTime { get; set; }
        /// <summary>
        /// 生成记录编号
        /// </summary>
        public string GenerateId { get; set; }
        /// <summary>
        /// 审核意见
        /// </summary>
        public string Opinion { get; set; }
    }

    /// <summary>
    /// 级联选择器
    /// </summary>
    public class CascaderTree
    {
        public string value { get; set; }
        public string label { get; set; }
        public List<CascaderTree> children { get; set; }
    }
}
